<?php

	include_once('base.php');

	$text = file_get_contents(BASE_DIR.DIRECTORY_SEPARATOR.$_GET['name'], false);
	if($text!==false){
		echo $text;
	} else {
		header("HTTP/1.0 404 Not Found");
	}